package com.example.eventdemo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 用户实体类
 */
@Data // 生成getter、setter、toString等方法
@NoArgsConstructor // 无参构造
@AllArgsConstructor // 全参构造
public class UserMessage {

    private String type;
    private Long id;
    private String username;
    private String email;
    private LocalDateTime registerTime;
}